package org.example.servlet;

public class TestStringFormat {

    public static void main(String[] args) {
        String html = "<p>欢迎你，%s</p>";
        String body = String.format(html, "张三");
        System.out.println(body);
    }
}
